package org.kyw.order.service;

import org.kyw.basic.service.IBaseService;
import org.kyw.basic.util.PageList;
import org.kyw.order.domain.AdoptOrder;
import org.kyw.order.query.AdoptOrderQuery;
import org.kyw.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> params, Logininfo currentLogin);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery query, Logininfo currentLogin);

    PageList<AdoptOrder> queryAdmin(AdoptOrderQuery query, Logininfo currentLogin);

    void cancelByQuartz(Long orderId);
}
